﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B73 RID: 2931
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyClickCellScRsp : IMessage<MonopolyClickCellScRsp>, IMessage, IEquatable<MonopolyClickCellScRsp>, IDeepCloneable<MonopolyClickCellScRsp>, IBufferMessage
	{
		// Token: 0x17002505 RID: 9477
		// (get) Token: 0x06008326 RID: 33574 RVA: 0x0015DE79 File Offset: 0x0015C079
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyClickCellScRsp> Parser
		{
			get
			{
				return MonopolyClickCellScRsp._parser;
			}
		}

		// Token: 0x17002506 RID: 9478
		// (get) Token: 0x06008327 RID: 33575 RVA: 0x0015DE80 File Offset: 0x0015C080
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyClickCellScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002507 RID: 9479
		// (get) Token: 0x06008328 RID: 33576 RVA: 0x0015DE92 File Offset: 0x0015C092
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyClickCellScRsp.Descriptor;
			}
		}

		// Token: 0x06008329 RID: 33577 RVA: 0x0015DE99 File Offset: 0x0015C099
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyClickCellScRsp()
		{
		}

		// Token: 0x0600832A RID: 33578 RVA: 0x0015DEA1 File Offset: 0x0015C0A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyClickCellScRsp(MonopolyClickCellScRsp other) : this()
		{
			this.cellId_ = other.cellId_;
			this.retcode_ = other.retcode_;
			this.mapId_ = other.mapId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600832B RID: 33579 RVA: 0x0015DEDE File Offset: 0x0015C0DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyClickCellScRsp Clone()
		{
			return new MonopolyClickCellScRsp(this);
		}

		// Token: 0x17002508 RID: 9480
		// (get) Token: 0x0600832C RID: 33580 RVA: 0x0015DEE6 File Offset: 0x0015C0E6
		// (set) Token: 0x0600832D RID: 33581 RVA: 0x0015DEEE File Offset: 0x0015C0EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CellId
		{
			get
			{
				return this.cellId_;
			}
			set
			{
				this.cellId_ = value;
			}
		}

		// Token: 0x17002509 RID: 9481
		// (get) Token: 0x0600832E RID: 33582 RVA: 0x0015DEF7 File Offset: 0x0015C0F7
		// (set) Token: 0x0600832F RID: 33583 RVA: 0x0015DEFF File Offset: 0x0015C0FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700250A RID: 9482
		// (get) Token: 0x06008330 RID: 33584 RVA: 0x0015DF08 File Offset: 0x0015C108
		// (set) Token: 0x06008331 RID: 33585 RVA: 0x0015DF10 File Offset: 0x0015C110
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MapId
		{
			get
			{
				return this.mapId_;
			}
			set
			{
				this.mapId_ = value;
			}
		}

		// Token: 0x06008332 RID: 33586 RVA: 0x0015DF19 File Offset: 0x0015C119
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyClickCellScRsp);
		}

		// Token: 0x06008333 RID: 33587 RVA: 0x0015DF28 File Offset: 0x0015C128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyClickCellScRsp other)
		{
			return other != null && (other == this || (this.CellId == other.CellId && this.Retcode == other.Retcode && this.MapId == other.MapId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008334 RID: 33588 RVA: 0x0015DF84 File Offset: 0x0015C184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CellId != 0U)
			{
				num ^= this.CellId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.MapId != 0U)
			{
				num ^= this.MapId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008335 RID: 33589 RVA: 0x0015DFF5 File Offset: 0x0015C1F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008336 RID: 33590 RVA: 0x0015DFFD File Offset: 0x0015C1FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008337 RID: 33591 RVA: 0x0015E008 File Offset: 0x0015C208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MapId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.MapId);
			}
			if (this.CellId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.CellId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008338 RID: 33592 RVA: 0x0015E080 File Offset: 0x0015C280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CellId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CellId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.MapId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MapId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008339 RID: 33593 RVA: 0x0015E0F0 File Offset: 0x0015C2F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyClickCellScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CellId != 0U)
			{
				this.CellId = other.CellId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.MapId != 0U)
			{
				this.MapId = other.MapId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600833A RID: 33594 RVA: 0x0015E154 File Offset: 0x0015C354
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600833B RID: 33595 RVA: 0x0015E160 File Offset: 0x0015C360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 112U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.CellId = input.ReadUInt32();
					}
				}
				else
				{
					this.MapId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400323B RID: 12859
		private static readonly MessageParser<MonopolyClickCellScRsp> _parser = new MessageParser<MonopolyClickCellScRsp>(() => new MonopolyClickCellScRsp());

		// Token: 0x0400323C RID: 12860
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400323D RID: 12861
		public const int CellIdFieldNumber = 14;

		// Token: 0x0400323E RID: 12862
		private uint cellId_;

		// Token: 0x0400323F RID: 12863
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04003240 RID: 12864
		private uint retcode_;

		// Token: 0x04003241 RID: 12865
		public const int MapIdFieldNumber = 11;

		// Token: 0x04003242 RID: 12866
		private uint mapId_;
	}
}
